Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_SW_INQDATAFIELDS

EOS_SW_INQDATAFIELDS

This function retrieves information about all of the data fields defined in swath. The field list is returned as a string with each data field separated by commas. The rank and numbertype arrays will have an entry for each field.

Note: See STRSPLIT to separate the field list.

Syntax

Result = EOS_SW_INQDATAFIELDS(swathID, fieldlist, rank, numbertype)

Return Value

Returns number of data fields found. If –1, could signify improper swath id.

Arguments

swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

fieldlist

A named variable that will contain the listing of data fields (string) with entries separated by commas.

rank

A named variable that will contain an array (long) of rank of each data field.

numbertype

A named variable that will contain an array (long) of numbertype of each data field.

Keywords

None

Examples

nflds = EOS_SW_INQDATAFIELDS(swathID, fieldlist, rank, numbertype)

Version History

 

5.2

Introduced